﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RISEN;

namespace AMain
{
    public abstract class WorldElement
    {
        private String name;   

        /// <summary>
        /// Name of the current object
        /// </summary>
        public String Name {
            get { return name; }
        }

        public WorldElement ()
        {
            this.SetName("World Element");
        }

        public WorldElement(String inName)
        {
            this.SetName(inName);
        }
        
        /// <summary>
        /// Set the name of the current object
        /// </summary>
        /// <param name="inName">The name to set to the current object</param>
        protected void SetName(String inName)
        {
            name = inName;
        }
    }
}